function submitFormUpload() {
    $("#photoUploadForm").submit();
}

$(document).ready(function() {
    $("#photoUploadSubmit").click(function() {
        submitFormUpload();
    });
});